package ui;

import java.awt.GridLayout;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;

public class PanelBienvenue extends JPanel
{

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1L;

	public PanelBienvenue()
	{
		setLayout(new GridLayout(0, 1, 0, 0));
		
		JLabel logo_flibus = new JLabel();
		logo_flibus.setHorizontalAlignment(SwingConstants.CENTER);
		logo_flibus.setText(null);
		ImageIcon image_flibus = new ImageIcon("./Images/logo_flibus.gif", "Les flibustiers de nezeb");
		
		logo_flibus.setIcon(image_flibus);
		
		
		JLabel logo_ascen = new JLabel();
		logo_ascen.setHorizontalAlignment(SwingConstants.CENTER);
		logo_ascen.setText(null);
		ImageIcon image_ascen = new ImageIcon("./Images/logo_ascen.jpg", "Ascendancy");
		logo_ascen.setIcon(image_ascen);
		
		setLayout(new GridLayout(2, 1, 0, 0));
		add(logo_flibus);
		add(logo_ascen);		
	}

}
